package com.supreme.cacheserver.aspect;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class MemCacheAspect {

    @Pointcut(value = "@annotation(com.supreme.cacheserver.annotation.MemCache)")
    public void PointCut() {
    }

    @Around("PointCut()")
    public Object aroundProcess(ProceedingJoinPoint joinPoint) throws Throwable {
        return joinPoint.proceed();
    }
}
